package com.twetec.cms.model.po.system;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableName;
import com.twetec.cms.model.po.base.BasePO;

/**
 * <p>
 * 角色表
 * </p>
 *
 * @author zhxl
 * @since 2020-10-28
 */
@TableName("SYSTEM_ROLE")
public class RolePO extends BasePO {

    private static final long serialVersionUID=1L;

    /**
     * 角色名
     */
    @TableField("NAME")
    private String name;

    /**
     * 数据域
     */
    @TableField("DATA_ORG")
    private String dataOrg;

    /**
     * 工会角色id

     */
    @TableField("UNION_ROLE_ID")
    private Long unionRoleId;


    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDataOrg() {
        return dataOrg;
    }

    public void setDataOrg(String dataOrg) {
        this.dataOrg = dataOrg;
    }

    public Long getUnionRoleId() {
        return unionRoleId;
    }

    public void setUnionRoleId(Long unionRoleId) {
        this.unionRoleId = unionRoleId;
    }

    @Override
    public String toString() {
        return "RolePO{" +
        "name=" + name +
        ", dataOrg=" + dataOrg +
        ", unionRoleId=" + unionRoleId +
        "}";
    }
}
